<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>首页</title>
		<meta name="Author" content="余光cc" /> 
        <meta name="Copyright" content="网站版权" /> 
        <meta name="keywords" content="网站关键字" />
        <meta name="description" content="网站描述" />
        <link rel="Shortcut Icon" href="网站.ico图标路径" />
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/gz.css"/>
		<link rel="stylesheet" type="text/css" href="layui/css/layui.css"/>
	</head>
	<body>
	<div class="box-kt" style="background: url(images/gz-back.png) no-repeat;">
		<h3 class="box-title">分站工作职责</h3>
		<div class="box-cont">
			
		</div>
	</div>
	<script src="js/jquery-3.3.1-min.js" type="text/javascript" charset="utf-8"></script>
	<script src="layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/echarts.common.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var id = GetQueryString('id');
		console.log(id);
		$.ajax({
			type:"post",
			url:"http://www.shopyun.top:8011/dp/api/branchDetail",
			data:{id:id},
			async:true,
			success:function(data){
				console.log(data);
				$('.box-cont').append('<p>'+data.plan.plan+'</p>')
			}
		});
		function GetQueryString(name) {
		     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
		     var r = window.location.search.substr(1).match(reg);
		     if(r!=null)return  unescape(r[2]); return null;
		}
	</script>
	</body>
</html>
